import {useStore} from "@/pinia/index"
export function createWebSocket(){
	const store=useStore()
	console.log("store:",store);
	const ws = new WebSocket("ws://localhost:8080/websocket/"+store.token);
	return ws
}